package com.exmaple.smart.gwt.client.ui.data;

import com.exmaple.smart.gwt.client.ui.view.AccountView;

public class ResourceCentreNavigationPaneSectionData {

	private static NavigationPaneRecord[] records;

	public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
			records = getNewRecords();
		}
		return records;
	}

	public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[] {
				new NavigationPaneRecord("highlights", "Highlights",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("sales", "Sales",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("settings", "Settings",
						new AccountView.Factory(), null) };
	}
}
